package sort;
import java.util.Scanner;
import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 39891
 * Date: 2025-04-14
 * Time: 14:14
 */
public class Test {
    public static void main(String[] args) {
        int[] arr = new int[10];
        Scanner sc = new Scanner(System.in);
        for (int i = 0; i<arr.length ; i++){
            arr[i] = sc.nextInt();
        }
        System.out.println("快排前的数组：" +Arrays.toString(arr));
        Sort.quickSort(arr,0,arr.length-1);
        System.out.println("快排后的数组：" +Arrays.toString(arr));
    }
}
